package com.jeegit.ecms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jeegit.common.annotation.Excel;
import com.jeegit.common.core.domain.BaseEntity;

/**
 * 友情链接对象 cms_link
 * 
 * @author jeegit
 * @date 2022-06-25
 */
public class CmsLink extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 栏目编码 */
    @Excel(name = "栏目编码")
    private Long categoryId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 关键词 */
    @Excel(name = "关键词")
    private String keywords;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 推荐位 */
    @Excel(name = "推荐位")
    private String dictLinkPostPositions;

    /** 简介 */
    @Excel(name = "简介")
    private String description;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 地址 */
    @Excel(name = "地址")
    private String href;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 排序 */
    @Excel(name = "排序")
    private BigDecimal sort;

    /** 状态（0正常 1删除 2停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=删除,2=停用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setKeywords(String keywords) 
    {
        this.keywords = keywords;
    }

    public String getKeywords() 
    {
        return keywords;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setDictLinkPostPositions(String dictLinkPostPositions) 
    {
        this.dictLinkPostPositions = dictLinkPostPositions;
    }

    public String getDictLinkPostPositions() 
    {
        return dictLinkPostPositions;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setHref(String href) 
    {
        this.href = href;
    }

    public String getHref() 
    {
        return href;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setSort(BigDecimal sort) 
    {
        this.sort = sort;
    }

    public BigDecimal getSort() 
    {
        return sort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryId", getCategoryId())
            .append("title", getTitle())
            .append("keywords", getKeywords())
            .append("color", getColor())
            .append("dictLinkPostPositions", getDictLinkPostPositions())
            .append("description", getDescription())
            .append("image", getImage())
            .append("href", getHref())
            .append("icon", getIcon())
            .append("content", getContent())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
